<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="../js/html5shiv.js"></script>
<script type="text/javascript" src="../js/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="../js/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="../js/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<!--/meta 作为公共模版分离出去-->


<title>添加用户 - H-ui.admin v3.1</title>
<meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
<meta name="description" content="H-ui.admin v3.1，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
</head>
<body>
<article class="page-container">
	<form action="" method="post" class="form form-horizontal" id="form-member-add">
    
   		<div class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>员工编号：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="userid" name="userid">
			</div>
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>姓名：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="username" name="username">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>性别：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
					<select name ="sex" class="select">
					<option value="1">男</option>
                    <option value="2">女</option>
                    </select>
			</div>

			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>出生日期：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="birth" name="brith">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>身份证号：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="idcard" name="idcard">
			</div>
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>部门：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="dept" name="dept">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>

        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>岗位：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="job" name="job">
			</div>
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>入职日期：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}' })" id="jobdate" class="input-text Wdate" name="jobdate">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>工作日期：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}' })" id="workdate" class="input-text Wdate" name="workdate">
        	</div>
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>有无试用期：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
				<select id="try" name ="try" class="select">
					<option value="1">有</option>
					<option value="2">无</option>
				</select>
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
		<div id="start" class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>试用期开始日期：</label>
			<div class="formControls col-xs-3 col-sm-3">
                <input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}' })" id="startdate" class="input-text Wdate" name="startdate">
			</div>
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>试用期结束日期：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}' })" id="workdate" class="input-text Wdate" name="workdate">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>

		<div class="row cl">
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>用工形式：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
					<select name ="worker" class="select">
					<option value="1">正式员工</option>
                    <option value="2">临时员工</option>
                    </select>
			</div>
			<label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>人员来源：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
				<select name ="from" class="select">
					<option value="1">校园招聘</option>
					<option value="2">-社会招聘</option>
					<option value="3" selected> 其他</option>
				</select>
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">政治面貌：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
					<select name ="political" class="select">
					<option value="1">党员</option>
                    <option value="2">预备党员</option>
                    <option value="3">团员</option>
                    <option value="4" selected>其他</option>
                    </select>
			</div>
			<label class="form-label col-xs-2 col-sm-2">民族：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
				<select name ="national" class="select">
					<option value="1">汉族</option>
					<option value="2">少数民族</option>
				</select>
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">籍贯：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="hometown" name="hometown">
			</div>
			<label class="form-label col-xs-2 col-sm-2">联系电话：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="phone" name="phone">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">电子邮件：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" placeholder="@" name="email" id="email">
			</div>
			<label class="form-label col-xs-2 col-sm-2">身高：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="height" name="height">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">血型：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
					<select name ="blood" class="select">
					<option value="1">A型</option>
                    <option value="2">B型</option>
                    <option value="3">AB型</option>
                    <option value="4">O型</option>
                    <option value="5" selected>其他</option>
                    </select>
			</div>
			<label class="form-label col-xs-2 col-sm-2">婚姻状况：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
				<select name ="marry" class="select">
					<option value="1">已婚</option>
					<option value="2">未婚</option>
					<option value="3">丧偶</option>
					<option value="4">离婚</option>
					<option value="5" selected>其他</option>
				</select>
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">出生地：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="birthplace" name="brithplace">
			</div>
			<label class="form-label col-xs-2 col-sm-2">户口所在地：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="familyaddress" name="familyaddress">

			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">最高学历：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
					<select name ="degree" class="select">
					<option value="1">高中及以下</option>
                    <option value="2">大专</option>
                    <option value="3">本科</option>
                    <option value="4">研究生</option>
                    </select>
			</div>
			<label class="form-label col-xs-2 col-sm-2">最高学位：</label>
			<div class="formControls col-xs-3 col-sm-3 skin-minimal">
				<select name ="edu" class="select">
					<option value="1">无学位</option>
					<option value="2">学士</option>
					<option value="3">双学士</option>
					<option value="4">硕士</option>
					<option value="5">博士</option>
					<option value="6">博士后</option>
				</select>
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
		<div class="row cl">
        	<label class="form-label col-xs-2 col-sm-2">毕业院校：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="school" name="school">
			</div>
			<label class="form-label col-xs-2 col-sm-2">所学专业：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" placeholder="" name="major" id="major">
			</div>
			<div class="formControls col-xs-2 col-sm-2">
			</div>
		</div>
        <div class="row cl">
			<label class="form-label col-xs-2 col-sm-2">毕业日期：</label>
			<div class="formControls col-xs-3 col-sm-3">
				<input type="text" class="input-text" value="" placeholder="" id="graduate" name="graduate">
			</div>
			<div class="formControls col-xs-7 col-sm-7">
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-9 col-sm-9">
			</div>
			<div class="col-xs-1 col-sm-1">
				<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
			</div>
			<div class="col-xs-1 col-sm-1">
			</div>
		</div>
	</form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../js/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../js/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="../static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本--> 
<script type="text/javascript" src="../js/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="../js/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="../js/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="../js/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript" src="../js/laypage/1.2/laypage.js"></script>


<script type="text/javascript">
$(function(){
	$("#try").change(function(){
	if($(this).val()==1){
	$("#start").show();
	$("#end").show();
	}
	if($(this).val()==2){
	$("#start").hide();
	$("#end").hide();
	}
	});
});
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	
	$("#form-member-add").validate({
		rules:{
			username:{
				required:true,
				minlength:2,
				maxlength:16
			},
			sex:{
				required:true,
			},
			mobile:{
				required:true,
				isMobile:true,
			},
			email:{
				required:true,
				email:true,
			},
			uploadfile:{
				required:true,
			},
			
		},
		onkeyup:false,
		focusCleanup:true,
		success:"valid",
		submitHandler:function(form){
			//$(form).ajaxSubmit();
			var index = parent.layer.getFrameIndex(window.name);
			//parent.$('.btn-refresh').click();
			parent.layer.close(index);
		}
	});
});
</script> 
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>